package com.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.pojo.entity.Classroom;
import com.demo.pojo.dto.ClassroomListDTO;

import java.util.List;

/**
 * 教室服务接口
 */
public interface ClassroomService extends IService<Classroom> {
    
    /**
     * 获取教室列表
     */
    List<ClassroomListDTO> getClassroomList();
    
    /**
     * 根据类型获取可用教室
     */
    List<Classroom> getAvailableClassroomsByType(String classroomType);
    
    /**
     * 检查教室是否可用
     */
    boolean isClassroomAvailable(Long classroomId, Long timeSlotId);
}
























